package net.maku.needy.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.maku.framework.mybatis.dao.BaseDao;
import net.maku.needy.entity.NeedyMemberEntity;
import net.maku.needy.vo.NeedyMemberVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* 困难职工
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-19
*/
@Mapper
public interface NeedyMemberDao extends BaseDao<NeedyMemberEntity> {

    /**
     * 分页查询
     * @param page
     * @param wrapper
     * @return
     */
    IPage<NeedyMemberVO> selectPageList(@Param("page") IPage<NeedyMemberEntity> page, @Param(Constants.WRAPPER) QueryWrapper<NeedyMemberVO> wrapper);
}